#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Models.Marketmodels;
using Cephei.QL.Models.Marketmodels.Products;
namespace Cephei.QL.Models.Marketmodels.Products.Onestep
{
     
    [Guid ("23214878-EA69-4fa0-9374-C9144854FC6E"),ComVisible(true)]
	public interface IOneStepCoterminalSwaps : Cephei.QL.Models.Marketmodels.Products.IMultiProductOneStep
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Boolean NextTimeStep(Cephei.QL.Models.Marketmodels.ICurveState currentState, Cephei.IVector<UInt64> numberCashFlowsThisStep, Cephei.IMatrix<Cephei.QL.Models.Marketmodels.IMarketModelMultiProductCashFlow> cashFlowsGenerated);
        
		 UInt64 MaxNumberOfCashFlowsPerProductPerStep {get;}
        
		 UInt64 NumberOfProducts {get;}
        
		 Cephei.IVector<Double> PossibleCashFlowTimes {get;}
        
		 IOneStepCoterminalSwaps Reset {get;}
    }

    // <summary> 
	//  Factory
	// </summary>
   	[ComVisible(true)]
    public interface IOneStepCoterminalSwaps_Factory // : Collection_Factory<IOneStepCoterminalSwaps, ICell<IOneStepCoterminalSwaps>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    IOneStepCoterminalSwaps Create (Cephei.IVector<Double> rateTimes, Cephei.IVector<Double> fixedAccruals, Cephei.IVector<Double> floatingAccruals, Cephei.IVector<Double> paymentTimes, Double fixedRate);
    }
}

